package code.rocky.chapter06;

@Desc(c = Desc.Color.White)
abstract class Bird {

    public abstract Desc.Color getColor();

}

class Sparrow extends Bird {

    private Desc.Color color;

    public Sparrow() {
        color = Desc.Color.Grayish;
    }

    public Sparrow(Desc.Color _color) {
        color = _color;
    }

    @Override
    public Desc.Color getColor() {
        return color;
    }
}

